package ch.zbw.timeline.server;

import java.rmi.RemoteException;

import ch.zbw.timeline.server.domain.Server;
import ch.zbw.timeline.server.domain.ServerImpl;
import ch.zbw.timeline.server.ui.ServerPresenter;
import ch.zbw.timeline.server.ui.ServerView;
import ch.zbw.timeline.server.ui.ServerViewImpl;

public class ServerApp {

	public final static String SERVER = "timeline-server";
	
	/**
	 * Main method
	 */
	public static void main(String[] args) {

		try {
			ServerView view = new ServerViewImpl();
			Server model = new ServerImpl();
			new ServerPresenter(view, model);
		} catch (RemoteException e) {
			// no exception handling required
		}
	}
}
